export const PUBLIST_STATUS = {
  0: { codeNum: 0, codeName: '未发布', codeTypeNum: 'PUBLIST_STATUS', tag: 'info' },
  1: { codeNum: 1, codeName: '已发布', codeTypeNum: 'PUBLIST_STATUS', tag: 'success' },
};

export const COL_INDEXS = [{
  prop: 'courseName',
  label: '课程名称',
  minWidth: 150
}, {
  prop: 'isPublish',
  label: '发布状态',
  isDict: true,
  dictType: PUBLIST_STATUS,
  minWidth: 80
}, {
  prop: 'lessonNum',
  label: '课时数量',
  unit: '个',
  minWidth: 80
}, {
  prop: 'studentNum',
  label: '学员人数',
  unit: '人',
  minWidth: 80
}, {
  prop: 'numProcess',
  label: '学习进度',
  isBar: true
}, {
  prop: 'deadlineTime',
  label: '有效期',
  // isSort: true
}];
